//package com.allwees.bs.c.module.order.dto;
//
//import com.allwees.bs.c.module.order.entity.OrderFlowEntity;
//import com.allwees.core.common.util.StringUtil;
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
//
//import java.io.Serializable;
//
//@Data
////@ApiModel("订单退款信息")
//@AllArgsConstructor
//@NoArgsConstructor
//public class OrderRefundItemDTO implements Serializable {
////	@ApiModelProperty(value = "申请退款的信息,如果有多次申请退款，则是最新的一条")
//	private Request request;
//
////	@ApiModelProperty(value = "审核退款申请的结果，包括审核结果原因以及是否同意退款")
//	private Judge judge;
//
//	@Data
////	@ApiModel("申请退款信息")
//	@AllArgsConstructor
//	@NoArgsConstructor
//	private class Request {
////		@ApiModelProperty(value = "申请退款类型,和客户端申请时相同，")
//		private Integer refundType;
//
////		@ApiModelProperty(value = "退款原因")
//		private Integer reason;
//
////		@ApiModelProperty(value = "退款备注")
//		private String remark;
//
////		@ApiModelProperty(value = "退款图片")
//		private String[] photos;
//
//		private Request(OrderFlowEntity flowEntity) {
//			this.setRefundType(flowEntity.getType());
//			this.setReason(flowEntity.getReason());
//			this.setRemark(flowEntity.getRemark());
//			this.setPhotos(StringUtil.splitToArray(flowEntity.getPhotos()));
//		}
//	}
//
//	@Data
////	@ApiModel("审核退款的信息")
//	@AllArgsConstructor
//	@NoArgsConstructor
//	private class Judge {
////		@ApiModelProperty(value = "是否同意退款")
//		private Boolean isAccept;
//
////		@ApiModelProperty(value = "审核结果原因")
//		private Integer reason;
//
////		@ApiModelProperty(value = "审核结果备注")
//		private String remark;
//
////		@ApiModelProperty(value = "审核结果图片")
//		private String[] photos;
//
//		private Judge(Boolean isAccept, OrderFlowEntity flowEntity) {
//			this.setIsAccept(isAccept);
//			this.setReason(flowEntity.getReason());
//			this.setRemark(flowEntity.getRemark());
//			this.setPhotos(StringUtil.splitToArray(flowEntity.getPhotos()));
//		}
//	}
//}
